#pragma once

#include "Ticket.h"
#include <queue>
#include "CallButton.h"

class Floor
{
private:

	std::queue<Ticket*> floorQ;
	CallButton floorCallButton;

public:
	Floor(void);
	~Floor(void);
	
	void init(void);
	void loadQ(Ticket * ticket);
	void elevatorLeaving(int elevID);

	bool isCallPressed(int elevID);
	//BUG Walker: need to pass a pointer to a pointer for this to work.
	//bool getTicket(Ticket * ticket, int elevID);
	bool getTicket(Ticket ** ticket, int elevID);

};

